<?php

if (!init()) {
  redirect("?action=login");
}

markAllTopics();

$initiatorAction = \controller\ControllerUtil::getEncodedActionFromUrlWithParameters($_SERVER['HTTP_REFERER']);
$initiatorAction = \controller\ControllerUtil::decodeUrl($initiatorAction);

redirect("?action=" . $initiatorAction);